<?php $this->load->view('admin_home/_header') ?>
<?php $this->load->view('message') ?>

<script tyep="text/javascript">
    $().ready(function(){
        $("#teacher_li").addClass("active"); 
    });

</script>

<div class="container">
    <div class="panel panel-primary">
        <div class="panel-heading">
            <h3 class="panel-title">班级列表</h3>
        </div>
        <div class="panel-body">
            <div class="panel-body">
                <div id="table">
                    <table class="table table-striped table-hover ">
                        <thead>
                            <tr>
                                <th>序号</th>
                                <th>班级名称</th>
                                <th>课程名称</th>
                                <th>有效期</th>
                                <!--<th>操作</th>-->
                            </tr>
                        </thead>
                        <tbody>
                            <?php $index = 1;foreach ($logic_classes as $item ): ?>
                            <tr>
                                <td>
                                    <?php echo $index++?></td>
                                <td>
                                    <?php echo $item['name']?></td>
                                <td>
                                    <?php echo $item['big_lecture_name']?></td>
                                <td>
                                    <?php echo $item['start_date']?>—<?php echo $item['end_date']?></td>
                                <!--<td>
                                    <a href="<?php echo site_url('Admin_teacher/check_students').'/'.$item['id'].'/'.$teacher_id?>">查看</a>
                                </td>-->
                            </tr>
                        <?php endforeach; ?></tbody>
                    </table>
                </div>

            </div>
        </div>
    </div>
</div>
<?php $this->load->view('admin_home/_footer')?>